package com.resign.carl.command.example2.api;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * Created by carl.zhao on 2016/6/15.
 */
@NoArgsConstructor
@AllArgsConstructor
public class CeilingFan {

    private String roomname;

    public void on(){
        System.out.println("ceiling fan is on");
    }

    public void off(){
        System.out.println("ceiling fan is off");
    }

}
